<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/tw-stats.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">tw-stats.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="tw-stats_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="ross_8h.html">ross.h</a>&gt;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;</div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#ifndef ROSS_DO_NOT_PRINT</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor"></span><span class="keyword">static</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">    5</a></span>&#160;<a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="ross-types_8h.html#a68910a3e880a16d5acbac8fc120229a2">tw_stat</a> v)</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;{</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;        printf(<span class="stringliteral">&quot;\t%-50s %11lld\n&quot;</span>, name, v);</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;        fprintf(<a class="code" href="ross-extern_8h.html#a8747c3bfc331d131dd546883b336feef">g_tw_csv</a>, <span class="stringliteral">&quot;,%lld&quot;</span>, v);</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;}</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">static</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f">   12</a></span>&#160;<a class="code" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f">show_2f</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">double</span> v)</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;{</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;        printf(<span class="stringliteral">&quot;\t%-50s %11.2f %%\n&quot;</span>, name, v);</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;        fprintf(<a class="code" href="ross-extern_8h.html#a8747c3bfc331d131dd546883b336feef">g_tw_csv</a>, <span class="stringliteral">&quot;,%.2f&quot;</span>, v);</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;}</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">static</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="tw-stats_8c.html#a6b69bed4fb0f6988ac343b34447c6b07">   19</a></span>&#160;<a class="code" href="tw-stats_8c.html#a6b69bed4fb0f6988ac343b34447c6b07">show_1f</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">double</span> v)</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;{</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        printf(<span class="stringliteral">&quot;\t%-50s %11.1f\n&quot;</span>, name, v);</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        fprintf(<a class="code" href="ross-extern_8h.html#a8747c3bfc331d131dd546883b336feef">g_tw_csv</a>, <span class="stringliteral">&quot;,%.2f&quot;</span>, v);</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;}</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">static</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">   26</a></span>&#160;<a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">double</span> v)</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        printf(<span class="stringliteral">&quot;\t%-50s %11.4lf\n&quot;</span>, name, v);</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;        fprintf(<a class="code" href="ross-extern_8h.html#a8747c3bfc331d131dd546883b336feef">g_tw_csv</a>, <span class="stringliteral">&quot;,%.4lf&quot;</span>, v);</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;}</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="tw-stats_8c.html#aae84db287c9d98fc4aae257388490aec">   35</a></span>&#160;<a class="code" href="tw-stats_8c.html#aae84db287c9d98fc4aae257388490aec">tw_get_stats</a>(<a class="code" href="structtw__pe.html">tw_pe</a> * <a class="code" href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a>, <a class="code" href="structtw__statistics.html">tw_statistics</a> *s)</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;{</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        <a class="code" href="structtw__kp.html">tw_kp</a> *kp;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="keywordflow">if</span> (pe != <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>)</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;                <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="keywordflow">if</span> (0 == <a class="code" href="ross-extern_8h.html#ad8dd0c6c6e24d52a9fc457a6d85bd561">g_tw_sim_started</a>)</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;                <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <a class="code" href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a> rt;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <a class="code" href="ross-extern_8h.html#a47c205fb13e816aa4a0252ab2e7cd094">tw_wall_sub</a>(&amp;rt, &amp;pe-&gt;<a class="code" href="structtw__pe.html#a164ff8a0fc75eddb81fb6629396fea39">end_time</a>, &amp;pe-&gt;<a class="code" href="structtw__pe.html#ae9ea107324c86529f69a2b32526e19a8">start_time</a>);</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#ab722d6c0f1d5a616b0b21789cbdecc16">s_max_run_time</a> = <a class="code" href="ross-kernel-inline_8h.html#afd7e8bb46e590a19612ac045cf3f6f03">ROSS_MAX</a>(s-&gt;<a class="code" href="structtw__statistics.html#ab722d6c0f1d5a616b0b21789cbdecc16">s_max_run_time</a>, <a class="code" href="ross-extern_8h.html#ae0f8e95d53bcbe6803081588d3058146">tw_wall_to_double</a>(&amp;rt));</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a80ffd79aaf7873cac6407f2fe36d72e9">s_nevent_abort</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a80ffd79aaf7873cac6407f2fe36d72e9">s_nevent_abort</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a6b0357b84363b0747399aef2e913f5e5">s_pq_qsize</a> += <a class="code" href="splay_8c.html#addf3f3d612922ac6c07304ddb4895ab7">tw_pq_get_size</a>(pe-&gt;<a class="code" href="structtw__pe.html#a90e1dbe51a084d6e02580667159e13ff">pq</a>);</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#ab8856e6a9484744cb864ec3b94c1f86d">s_nsend_net_remote</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#ab8856e6a9484744cb864ec3b94c1f86d">s_nsend_net_remote</a>;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a25c1b19b67e5b437265c98a444d89fc2">s_nsend_loc_remote</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a25c1b19b67e5b437265c98a444d89fc2">s_nsend_loc_remote</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a950bfd3cce9aeb0874095350d634e977">s_nsend_network</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a950bfd3cce9aeb0874095350d634e977">s_nsend_network</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a67369ce1343843fe5d0bb6f723ccb140">s_nread_network</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a67369ce1343843fe5d0bb6f723ccb140">s_nread_network</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a1c50bb28d5a9481058f1b495210cb0a0">s_nsend_remote_rb</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a1c50bb28d5a9481058f1b495210cb0a0">s_nsend_remote_rb</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a77e96c47b9469e7a2dac21158f66d192">s_total</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a77e96c47b9469e7a2dac21158f66d192">s_total</a>;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#ae069d860a0a90e7d8280c8ec74cb9432">s_init</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#ae069d860a0a90e7d8280c8ec74cb9432">s_init</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a1c60ba2fc1683cc9cff5da33497f13f0">s_net_read</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a1c60ba2fc1683cc9cff5da33497f13f0">s_net_read</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#aad1a97ac3d3b2a0b5be6a77e576d08a4">s_net_other</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#aad1a97ac3d3b2a0b5be6a77e576d08a4">s_net_other</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a1fe13f0669aa85a80819965c67771b1c">s_gvt</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a1fe13f0669aa85a80819965c67771b1c">s_gvt</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a395ff98d71b2e8aaddcf293fa135cd7b">s_fossil_collect</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a395ff98d71b2e8aaddcf293fa135cd7b">s_fossil_collect</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#abee413204afa47b508421b50b55cbbc4">s_event_abort</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#abee413204afa47b508421b50b55cbbc4">s_event_abort</a>;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#afb4f29bb6fd2359929db62d67b3f0c24">s_event_process</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#afb4f29bb6fd2359929db62d67b3f0c24">s_event_process</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a63bdf31079607ac79020b3efb874dedd">s_pq</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a63bdf31079607ac79020b3efb874dedd">s_pq</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a94f3a9b746bc08e1bd11a971256bd98a">s_rollback</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a94f3a9b746bc08e1bd11a971256bd98a">s_rollback</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a288053705e5e498d021498a1fe6a39e7">s_cancel_q</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a288053705e5e498d021498a1fe6a39e7">s_cancel_q</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a62e777ce390693fbe7b4fb88110c3c10">s_pe_event_ties</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a62e777ce390693fbe7b4fb88110c3c10">s_pe_event_ties</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a043d6d3fdd9bfcaa4bcd388af63c6662">s_min_detected_offset</a> = <a class="code" href="ross-extern_8h.html#a04a75081997dd5339573e321e5355ccf">g_tw_min_detected_offset</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a57f9136844021515905c3a6bc70eb921">s_avl</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a57f9136844021515905c3a6bc70eb921">s_avl</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a11793b1e0f358ce83e0f0e7d858f14c5">s_buddy</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a11793b1e0f358ce83e0f0e7d858f14c5">s_buddy</a>;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a43c6da6365aebc030d939dc378daf154">s_lz4</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a43c6da6365aebc030d939dc378daf154">s_lz4</a>;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#af5f39d1286d62c54c9cc14c8e5f16544">s_stat_comp</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#af5f39d1286d62c54c9cc14c8e5f16544">s_stat_comp</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#a2795cbca69365a04b8f0f6838f3086f5">s_stat_write</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a2795cbca69365a04b8f0f6838f3086f5">s_stat_write</a>;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#abd593404137ee16d70a5c87547ad52d8">s_events_past_end</a> += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#abd593404137ee16d70a5c87547ad52d8">s_events_past_end</a>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="preprocessor">#ifdef USE_RIO</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor"></span>    s-&gt;s_rio_load += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.s_rio_load;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    s-&gt;s_rio_lp_init += pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.s_rio_lp_init;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor"></span>    s-&gt;<a class="code" href="structtw__statistics.html#a1db8c3a6135984960c5b7da410770cf5">s_alp_nevent_processed</a> = pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a1db8c3a6135984960c5b7da410770cf5">s_alp_nevent_processed</a>;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    s-&gt;<a class="code" href="structtw__statistics.html#ad1861e30cfc3845812bb008f7d419308">s_alp_e_rbs</a> = pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#ad1861e30cfc3845812bb008f7d419308">s_alp_e_rbs</a>;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keywordflow">for</span>(i = 0; i &lt; <a class="code" href="ross-extern_8h.html#a4a237c68db5a0325e986d3710088d427">g_tw_nkp</a>; i++)</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    {</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        kp = <a class="code" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f">tw_getkp</a>(i);</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        s-&gt;<a class="code" href="structtw__statistics.html#a81aae87c2c31239b501b7461e93effa2">s_nevent_processed</a> += kp-&gt;<a class="code" href="structtw__kp.html#ac6d205df22a30a62f5694ac1d3d1c14a">s_nevent_processed</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        s-&gt;<a class="code" href="structtw__statistics.html#a97f53f996639cd3ddd6c975addd0e984">s_e_rbs</a> += kp-&gt;<a class="code" href="structtw__kp.html#a2c69e0142ab6df7345feeb819dc7b86a">s_e_rbs</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        s-&gt;<a class="code" href="structtw__statistics.html#ae1f695b710d56b9deb71d8c32f5ea433">s_rb_total</a> += kp-&gt;<a class="code" href="structtw__kp.html#ae0128e497a3731c114d91552ae531ce8">s_rb_total</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        s-&gt;<a class="code" href="structtw__statistics.html#ab569d8a20ab672eeb8ba0198154dd5ff">s_rb_secondary</a> += kp-&gt;<a class="code" href="structtw__kp.html#abe641c39eb731b4d96fa1ef0f3ecc95d">s_rb_secondary</a>;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    }</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        s-&gt;<a class="code" href="structtw__statistics.html#afbaa299bc177b669536d9fd2986d628f">s_fc_attempts</a> = <a class="code" href="ross-extern_8h.html#af545d515aac1a8f3f15aa261af6db1e2">g_tw_fossil_attempts</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        s-&gt;<a class="code" href="structtw__statistics.html#a828101c0647ffa8c15ac324dba6b09d4">s_net_events</a> = s-&gt;<a class="code" href="structtw__statistics.html#a81aae87c2c31239b501b7461e93effa2">s_nevent_processed</a> - s-&gt;<a class="code" href="structtw__statistics.html#a97f53f996639cd3ddd6c975addd0e984">s_e_rbs</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        s-&gt;<a class="code" href="structtw__statistics.html#ab248db5d9a1cd9b1f727be0569ea16db">s_rb_primary</a> = s-&gt;<a class="code" href="structtw__statistics.html#ae1f695b710d56b9deb71d8c32f5ea433">s_rb_total</a> - s-&gt;<a class="code" href="structtw__statistics.html#ab569d8a20ab672eeb8ba0198154dd5ff">s_rb_secondary</a>;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;}</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="tw-stats_8c.html#afb1f91d93907442626a68794ebb44599">  103</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="tw-stats_8c.html#afb1f91d93907442626a68794ebb44599">st_print_analysis_LP_stats</a>(<a class="code" href="structtw__statistics.html">tw_statistics</a> *s)</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;{</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <a class="code" href="ross-types_8h.html#a68910a3e880a16d5acbac8fc120229a2">tw_stat</a> model_nevent = s-&gt;<a class="code" href="structtw__statistics.html#a81aae87c2c31239b501b7461e93effa2">s_nevent_processed</a> - s-&gt;<a class="code" href="structtw__statistics.html#a1db8c3a6135984960c5b7da410770cf5">s_alp_nevent_processed</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <a class="code" href="ross-types_8h.html#a68910a3e880a16d5acbac8fc120229a2">tw_stat</a> model_e_rbs = s-&gt;<a class="code" href="structtw__statistics.html#a97f53f996639cd3ddd6c975addd0e984">s_e_rbs</a> - s-&gt;<a class="code" href="structtw__statistics.html#ad1861e30cfc3845812bb008f7d419308">s_alp_e_rbs</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <a class="code" href="ross-types_8h.html#a68910a3e880a16d5acbac8fc120229a2">tw_stat</a> model_net = model_nevent - model_e_rbs;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <a class="code" href="ross-types_8h.html#a68910a3e880a16d5acbac8fc120229a2">tw_stat</a> analysis_net = s-&gt;<a class="code" href="structtw__statistics.html#a1db8c3a6135984960c5b7da410770cf5">s_alp_nevent_processed</a> - s-&gt;<a class="code" href="structtw__statistics.html#ad1861e30cfc3845812bb008f7d419308">s_alp_e_rbs</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    printf(<span class="stringliteral">&quot;\nSeparate Statistics for Model and Analysis LPs\n&quot;</span>);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    printf(<span class="stringliteral">&quot;Model LPs:\n&quot;</span>);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Total Events Processed&quot;</span>, model_nevent);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Events Rolled Back&quot;</span>, model_e_rbs);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Net Events Processed&quot;</span>, model_net);</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        <a class="code" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f">show_2f</a>(<span class="stringliteral">&quot;Efficiency&quot;</span>, 100.0 * (1.0 - ((<span class="keywordtype">double</span>) model_e_rbs / (<span class="keywordtype">double</span>) model_net)));</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    printf(<span class="stringliteral">&quot;\nAnalysis LPs:\n&quot;</span>);</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Total Events Processed&quot;</span>, s-&gt;<a class="code" href="structtw__statistics.html#a1db8c3a6135984960c5b7da410770cf5">s_alp_nevent_processed</a>);</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Events Rolled Back&quot;</span>, s-&gt;<a class="code" href="structtw__statistics.html#ad1861e30cfc3845812bb008f7d419308">s_alp_e_rbs</a>);</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Net Events Processed&quot;</span>, analysis_net);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;        <a class="code" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f">show_2f</a>(<span class="stringliteral">&quot;Efficiency&quot;</span>, 100.0 * (1.0 - ((<span class="keywordtype">double</span>) s-&gt;<a class="code" href="structtw__statistics.html#ad1861e30cfc3845812bb008f7d419308">s_alp_e_rbs</a> / (<span class="keywordtype">double</span>) analysis_net)));</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;}</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="tw-stats_8c.html#a0782b6be50ca83cb7f43782cde7d9ad4">  125</a></span>&#160;<a class="code" href="tw-stats_8c.html#a0782b6be50ca83cb7f43782cde7d9ad4">tw_stats</a>(<a class="code" href="structtw__pe.html">tw_pe</a> *me)</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;{</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <a class="code" href="structtw__statistics.html">tw_statistics</a> s;</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        bzero(&amp;s, <span class="keyword">sizeof</span>(s));</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <span class="keywordtype">size_t</span> m_alloc, m_waste;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        <a class="code" href="ross-extern_8h.html#aad9cd95e0d933f14b3c1a4b7c81e0f97">tw_calloc_stats</a>(&amp;m_alloc, &amp;m_waste);</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <a class="code" href="structtw__lp.html">tw_lp</a> *lp = NULL;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <span class="keywordflow">for</span>(i = 0; i &lt; <a class="code" href="ross-extern_8h.html#ab8bd876929690758e922961bcc16cd64">g_tw_nlp</a> + <a class="code" href="specialized-lps_8c.html#abaecb255233b735460c8b9836547041e">g_st_analysis_nlp</a>; i++)</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    {</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        lp = <a class="code" href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a">tw_getlp</a>(i);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        <span class="keywordflow">if</span> (lp-&gt;<a class="code" href="structtw__lp.html#a205f09ff294b6bb1f61eab7b099ebea2">type</a>-&gt;<a class="code" href="structtw__lptype.html#a856cedae864c930e88106a4164a84ae4">final</a>)</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;            (*lp-&gt;<a class="code" href="structtw__lp.html#a205f09ff294b6bb1f61eab7b099ebea2">type</a>-&gt;<a class="code" href="structtw__lptype.html#a856cedae864c930e88106a4164a84ae4">final</a>) (lp-&gt;<a class="code" href="structtw__lp.html#a34fb8e673f23705156b2473503e8a2d5">cur_state</a>, lp);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    }</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <a class="code" href="tw-stats_8c.html#aae84db287c9d98fc4aae257388490aec">tw_get_stats</a>(me, &amp;s);</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        s = *(<a class="code" href="network-mpi_8c.html#abbcd0d5ea79ad57229162f703309142d">tw_net_statistics</a>(me, &amp;s));</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c">tw_ismaster</a>())</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;                <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">#ifndef ROSS_DO_NOT_PRINT</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor"></span>        printf(<span class="stringliteral">&quot;\n\t: Running Time = %.4f seconds\n&quot;</span>, s.<a class="code" href="structtw__statistics.html#ab722d6c0f1d5a616b0b21789cbdecc16">s_max_run_time</a>);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        fprintf(<a class="code" href="ross-extern_8h.html#a8747c3bfc331d131dd546883b336feef">g_tw_csv</a>, <span class="stringliteral">&quot;%.4f&quot;</span>, s.<a class="code" href="structtw__statistics.html#ab722d6c0f1d5a616b0b21789cbdecc16">s_max_run_time</a>);</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        printf(<span class="stringliteral">&quot;\nTW Library Statistics:\n&quot;</span>);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Total Events Processed&quot;</span>, s.<a class="code" href="structtw__statistics.html#a81aae87c2c31239b501b7461e93effa2">s_nevent_processed</a>);</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Events Aborted (part of RBs)&quot;</span>, s.<a class="code" href="structtw__statistics.html#a80ffd79aaf7873cac6407f2fe36d72e9">s_nevent_abort</a>);</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Events Rolled Back&quot;</span>, s.<a class="code" href="structtw__statistics.html#a97f53f996639cd3ddd6c975addd0e984">s_e_rbs</a>);</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Event Ties Detected in PE Queues&quot;</span>, s.<a class="code" href="structtw__statistics.html#a62e777ce390693fbe7b4fb88110c3c10">s_pe_event_ties</a>);</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        <span class="keywordflow">if</span>(<a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> == <a class="code" href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda70cd78c3dbc0801ed52437fa82a6e8ef">CONSERVATIVE</a>)</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;            printf(<span class="stringliteral">&quot;\t%-50s %11.9lf\n&quot;</span>,</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;               <span class="stringliteral">&quot;Minimum TS Offset Detected in Conservative Mode&quot;</span>,</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;               (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a043d6d3fdd9bfcaa4bcd388af63c6662">s_min_detected_offset</a>);</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        <a class="code" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f">show_2f</a>(<span class="stringliteral">&quot;Efficiency&quot;</span>, 100.0 * (1.0 - ((<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a97f53f996639cd3ddd6c975addd0e984">s_e_rbs</a> / (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a828101c0647ffa8c15ac324dba6b09d4">s_net_events</a>)));</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Total Remote (shared mem) Events Processed&quot;</span>, s.<a class="code" href="structtw__statistics.html#a25c1b19b67e5b437265c98a444d89fc2">s_nsend_loc_remote</a>);</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        <a class="code" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f">show_2f</a>(</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;                <span class="stringliteral">&quot;Percent Remote Events&quot;</span>,</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;                ( (<span class="keywordtype">double</span>)s.<a class="code" href="structtw__statistics.html#a25c1b19b67e5b437265c98a444d89fc2">s_nsend_loc_remote</a></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;                / (<span class="keywordtype">double</span>)s.<a class="code" href="structtw__statistics.html#a828101c0647ffa8c15ac324dba6b09d4">s_net_events</a>)</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;                * 100.0</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        );</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Total Remote (network) Events Processed&quot;</span>, s.<a class="code" href="structtw__statistics.html#ab8856e6a9484744cb864ec3b94c1f86d">s_nsend_net_remote</a>);</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <a class="code" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f">show_2f</a>(</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;                <span class="stringliteral">&quot;Percent Remote Events&quot;</span>,</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;                ( (<span class="keywordtype">double</span>)s.<a class="code" href="structtw__statistics.html#ab8856e6a9484744cb864ec3b94c1f86d">s_nsend_net_remote</a></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;                / (<span class="keywordtype">double</span>)s.<a class="code" href="structtw__statistics.html#a828101c0647ffa8c15ac324dba6b09d4">s_net_events</a>)</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;                * 100.0</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        );</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        printf(<span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Total Roll Backs &quot;</span>, s.<a class="code" href="structtw__statistics.html#ae1f695b710d56b9deb71d8c32f5ea433">s_rb_total</a>);</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Primary Roll Backs &quot;</span>, s.<a class="code" href="structtw__statistics.html#ab248db5d9a1cd9b1f727be0569ea16db">s_rb_primary</a>);</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Secondary Roll Backs &quot;</span>, s.<a class="code" href="structtw__statistics.html#ab569d8a20ab672eeb8ba0198154dd5ff">s_rb_secondary</a>);</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Fossil Collect Attempts&quot;</span>, s.<a class="code" href="structtw__statistics.html#afbaa299bc177b669536d9fd2986d628f">s_fc_attempts</a>);</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Total GVT Computations&quot;</span>, <a class="code" href="ross-extern_8h.html#aad7609a89939a59a33ae1cd1f5601e7e">g_tw_gvt_done</a>);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        printf(<span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Net Events Processed&quot;</span>, s.<a class="code" href="structtw__statistics.html#a828101c0647ffa8c15ac324dba6b09d4">s_net_events</a>);</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        <a class="code" href="tw-stats_8c.html#a6b69bed4fb0f6988ac343b34447c6b07">show_1f</a>(</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;                <span class="stringliteral">&quot;Event Rate (events/sec)&quot;</span>,</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;                ((<span class="keywordtype">double</span>)s.<a class="code" href="structtw__statistics.html#a828101c0647ffa8c15ac324dba6b09d4">s_net_events</a> / s.<a class="code" href="structtw__statistics.html#ab722d6c0f1d5a616b0b21789cbdecc16">s_max_run_time</a>)</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        );</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Total Events Scheduled Past End Time&quot;</span>, s.<a class="code" href="structtw__statistics.html#abd593404137ee16d70a5c87547ad52d8">s_events_past_end</a>);</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        printf(<span class="stringliteral">&quot;\nTW Memory Statistics:\n&quot;</span>);</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Events Allocated&quot;</span>, 1 + <a class="code" href="ross-extern_8h.html#a57043bf25127f521210bbf779e283e13">g_tw_events_per_pe</a> + <a class="code" href="ross-extern_8h.html#a17c791c2b25a6f00f8244f7f1244b9ca">g_tw_events_per_pe_extra</a>);</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Memory Allocated&quot;</span>, m_alloc / 1024);</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Memory Wasted&quot;</span>, m_waste / 1024);</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009">tw_nnodes</a>() &gt; 1) {</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;                printf(<span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;                printf(<span class="stringliteral">&quot;TW Network Statistics:\n&quot;</span>);</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;                <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Remote sends&quot;</span>, s.<a class="code" href="structtw__statistics.html#a950bfd3cce9aeb0874095350d634e977">s_nsend_network</a>);</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;                <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Remote recvs&quot;</span>, s.<a class="code" href="structtw__statistics.html#a67369ce1343843fe5d0bb6f723ccb140">s_nread_network</a>);</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        }</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        printf(<span class="stringliteral">&quot;\nTW Data Structure sizes in bytes (sizeof):\n&quot;</span>);</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;PE struct&quot;</span>, <span class="keyword">sizeof</span>(<a class="code" href="structtw__pe.html">tw_pe</a>));</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;KP struct&quot;</span>, <span class="keyword">sizeof</span>(<a class="code" href="structtw__kp.html">tw_kp</a>));</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;LP struct&quot;</span>, <span class="keyword">sizeof</span>(<a class="code" href="structtw__lp.html">tw_lp</a>));</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;LP Model struct&quot;</span>, lp-&gt;<a class="code" href="structtw__lp.html#a205f09ff294b6bb1f61eab7b099ebea2">type</a>-&gt;<a class="code" href="structtw__lptype.html#a1cf12b802abfdbb67ea25dd8c5921058">state_sz</a>);</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;LP RNGs&quot;</span>, <span class="keyword">sizeof</span>(*lp-&gt;<a class="code" href="structtw__lp.html#af7e48c8a55f5fff35746ac044df1902f">rng</a>));</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Total LP&quot;</span>, <span class="keyword">sizeof</span>(<a class="code" href="structtw__lp.html">tw_lp</a>) + lp-&gt;<a class="code" href="structtw__lp.html#a205f09ff294b6bb1f61eab7b099ebea2">type</a>-&gt;<a class="code" href="structtw__lptype.html#a1cf12b802abfdbb67ea25dd8c5921058">state_sz</a> + <span class="keyword">sizeof</span>(*lp-&gt;<a class="code" href="structtw__lp.html#af7e48c8a55f5fff35746ac044df1902f">rng</a>));</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Event struct&quot;</span>, <span class="keyword">sizeof</span>(<a class="code" href="structtw__event.html">tw_event</a>));</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        <a class="code" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a>(<span class="stringliteral">&quot;Event struct with Model&quot;</span>, <span class="keyword">sizeof</span>(<a class="code" href="structtw__event.html">tw_event</a>) + <a class="code" href="ross-extern_8h.html#a9d2ed177ca20252d6778f205eec20a83">g_tw_msg_sz</a>);</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="preprocessor">#ifdef ROSS_timing</span></div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="preprocessor"></span>        printf(<span class="stringliteral">&quot;\nTW Clock Cycle Statistics (MAX values in secs at %1.4lf GHz):\n&quot;</span>, <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a> / 1000000000.0);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Initialization&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#ae069d860a0a90e7d8280c8ec74cb9432">s_init</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Priority Queue (enq/deq)&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a63bdf31079607ac79020b3efb874dedd">s_pq</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;AVL Tree (insert/delete)&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a57f9136844021515905c3a6bc70eb921">s_avl</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;LZ4 (de)compression&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a43c6da6365aebc030d939dc378daf154">s_lz4</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Buddy system&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a11793b1e0f358ce83e0f0e7d858f14c5">s_buddy</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="preprocessor">#ifdef USE_RIO</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="preprocessor"></span>    <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;RIO Loading&quot;</span>, (<span class="keywordtype">double</span>) s.s_rio_load / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;RIO LP Init&quot;</span>, (<span class="keywordtype">double</span>) s.s_rio_lp_init / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="preprocessor"></span>        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Event Processing&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#afb4f29bb6fd2359929db62d67b3f0c24">s_event_process</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Event Cancel&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a288053705e5e498d021498a1fe6a39e7">s_cancel_q</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Event Abort&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#abee413204afa47b508421b50b55cbbc4">s_event_abort</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        printf(<span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;GVT&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a1fe13f0669aa85a80819965c67771b1c">s_gvt</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Fossil Collect&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a395ff98d71b2e8aaddcf293fa135cd7b">s_fossil_collect</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Primary Rollbacks&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a94f3a9b746bc08e1bd11a971256bd98a">s_rollback</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Network Read&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a1c60ba2fc1683cc9cff5da33497f13f0">s_net_read</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Other Network&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#aad1a97ac3d3b2a0b5be6a77e576d08a4">s_net_other</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Instrumentation (computation)&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#af5f39d1286d62c54c9cc14c8e5f16544">s_stat_comp</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Instrumentation (write)&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a2795cbca69365a04b8f0f6838f3086f5">s_stat_write</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        <a class="code" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a>(<span class="stringliteral">&quot;Total Time (Note: Using Running Time above for Speedup)&quot;</span>, (<span class="keywordtype">double</span>) s.<a class="code" href="structtw__statistics.html#a77e96c47b9469e7a2dac21158f66d192">s_total</a> / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>);</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        <a class="code" href="mpi__allreduce_8c.html#a14d128d340e53baff763e91125748254">tw_gvt_stats</a>(stdout);</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    </div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="specialized-lps_8c.html#af684a7b76fde8ed0e32b8a155af94f92">g_st_use_analysis_lps</a>)</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        <a class="code" href="tw-stats_8c.html#afb1f91d93907442626a68794ebb44599">st_print_analysis_LP_stats</a>(&amp;s);</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="preprocessor"></span>}</div>
<div class="ttc" id="ross-extern_8h_html_ae22db4d4e754eff64535402f5fa60a5f"><div class="ttname"><a href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a></div><div class="ttdeci">tw_synch g_tw_synchronization_protocol</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00018">ross-global.c:18</a></div></div>
<div class="ttc" id="ross-extern_8h_html_aad7609a89939a59a33ae1cd1f5601e7e"><div class="ttname"><a href="ross-extern_8h.html#aad7609a89939a59a33ae1cd1f5601e7e">g_tw_gvt_done</a></div><div class="ttdeci">unsigned int g_tw_gvt_done</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00081">ross-global.c:81</a></div></div>
<div class="ttc" id="structtw__statistics_html_aad1a97ac3d3b2a0b5be6a77e576d08a4"><div class="ttname"><a href="structtw__statistics.html#aad1a97ac3d3b2a0b5be6a77e576d08a4">tw_statistics::s_net_other</a></div><div class="ttdeci">tw_clock s_net_other</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00137">ross-types.h:137</a></div></div>
<div class="ttc" id="structtw__statistics_html_afb4f29bb6fd2359929db62d67b3f0c24"><div class="ttname"><a href="structtw__statistics.html#afb4f29bb6fd2359929db62d67b3f0c24">tw_statistics::s_event_process</a></div><div class="ttdeci">tw_clock s_event_process</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00142">ross-types.h:142</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a04a75081997dd5339573e321e5355ccf"><div class="ttname"><a href="ross-extern_8h.html#a04a75081997dd5339573e321e5355ccf">g_tw_min_detected_offset</a></div><div class="ttdeci">double g_tw_min_detected_offset</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00055">ross-global.c:55</a></div></div>
<div class="ttc" id="gtod_8c_html_a460e9a582762cd454d37d9d2704c3a67"><div class="ttname"><a href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a></div><div class="ttdeci">unsigned long long g_tw_clock_rate</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00098">ross-global.c:98</a></div></div>
<div class="ttc" id="structtw__lptype_html_a856cedae864c930e88106a4164a84ae4"><div class="ttname"><a href="structtw__lptype.html#a856cedae864c930e88106a4164a84ae4">tw_lptype::final</a></div><div class="ttdeci">final_f final</div><div class="ttdoc">Final handler routine. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00093">ross-types.h:93</a></div></div>
<div class="ttc" id="structtw__statistics_html_a63bdf31079607ac79020b3efb874dedd"><div class="ttname"><a href="structtw__statistics.html#a63bdf31079607ac79020b3efb874dedd">tw_statistics::s_pq</a></div><div class="ttdeci">tw_clock s_pq</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00143">ross-types.h:143</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a9d2ed177ca20252d6778f205eec20a83"><div class="ttname"><a href="ross-extern_8h.html#a9d2ed177ca20252d6778f205eec20a83">g_tw_msg_sz</a></div><div class="ttdeci">size_t g_tw_msg_sz</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00033">ross-global.c:33</a></div></div>
<div class="ttc" id="structtw__lp_html_a205f09ff294b6bb1f61eab7b099ebea2"><div class="ttname"><a href="structtw__lp.html#a205f09ff294b6bb1f61eab7b099ebea2">tw_lp::type</a></div><div class="ttdeci">tw_lptype * type</div><div class="ttdoc">Type of this LP, including service callbacks. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00316">ross-types.h:316</a></div></div>
<div class="ttc" id="structtw__statistics_html_ab248db5d9a1cd9b1f727be0569ea16db"><div class="ttname"><a href="structtw__statistics.html#ab248db5d9a1cd9b1f727be0569ea16db">tw_statistics::s_rb_primary</a></div><div class="ttdeci">tw_stat s_rb_primary</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00116">ross-types.h:116</a></div></div>
<div class="ttc" id="structtw__statistics_html_a80ffd79aaf7873cac6407f2fe36d72e9"><div class="ttname"><a href="structtw__statistics.html#a80ffd79aaf7873cac6407f2fe36d72e9">tw_statistics::s_nevent_abort</a></div><div class="ttdeci">tw_stat s_nevent_abort</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00112">ross-types.h:112</a></div></div>
<div class="ttc" id="tw-stats_8c_html_a6b69bed4fb0f6988ac343b34447c6b07"><div class="ttname"><a href="tw-stats_8c.html#a6b69bed4fb0f6988ac343b34447c6b07">show_1f</a></div><div class="ttdeci">static void show_1f(const char *name, double v)</div><div class="ttdef"><b>Definition:</b> <a href="tw-stats_8c_source.html#l00019">tw-stats.c:19</a></div></div>
<div class="ttc" id="structtw__pe_html_ac1d26b7bfd058cc55cbf5ee201edb83c"><div class="ttname"><a href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">tw_pe::stats</a></div><div class="ttdeci">tw_statistics stats</div><div class="ttdoc">per PE counters </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00415">ross-types.h:415</a></div></div>
<div class="ttc" id="ross-extern_8h_html_ad8dd0c6c6e24d52a9fc457a6d85bd561"><div class="ttname"><a href="ross-extern_8h.html#ad8dd0c6c6e24d52a9fc457a6d85bd561">g_tw_sim_started</a></div><div class="ttdeci">unsigned int g_tw_sim_started</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00032">ross-global.c:32</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a0e8a2538926cdb59af049a899566de6c"><div class="ttname"><a href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c">tw_ismaster</a></div><div class="ttdeci">static int tw_ismaster(void)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00068">ross-kernel-inline.h:68</a></div></div>
<div class="ttc" id="structtw__statistics_html_ae1f695b710d56b9deb71d8c32f5ea433"><div class="ttname"><a href="structtw__statistics.html#ae1f695b710d56b9deb71d8c32f5ea433">tw_statistics::s_rb_total</a></div><div class="ttdeci">tw_stat s_rb_total</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00115">ross-types.h:115</a></div></div>
<div class="ttc" id="structtw__kp_html_abe641c39eb731b4d96fa1ef0f3ecc95d"><div class="ttname"><a href="structtw__kp.html#abe641c39eb731b4d96fa1ef0f3ecc95d">tw_kp::s_rb_secondary</a></div><div class="ttdeci">long s_rb_secondary</div><div class="ttdoc">Number of secondary rollbacks by this LP. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00365">ross-types.h:365</a></div></div>
<div class="ttc" id="tw-stats_8c_html_afb1f91d93907442626a68794ebb44599"><div class="ttname"><a href="tw-stats_8c.html#afb1f91d93907442626a68794ebb44599">st_print_analysis_LP_stats</a></div><div class="ttdeci">void st_print_analysis_LP_stats(tw_statistics *s)</div><div class="ttdef"><b>Definition:</b> <a href="tw-stats_8c_source.html#l00103">tw-stats.c:103</a></div></div>
<div class="ttc" id="structtw__statistics_html_a43c6da6365aebc030d939dc378daf154"><div class="ttname"><a href="structtw__statistics.html#a43c6da6365aebc030d939dc378daf154">tw_statistics::s_lz4</a></div><div class="ttdeci">tw_clock s_lz4</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00150">ross-types.h:150</a></div></div>
<div class="ttc" id="structtw__pe_html"><div class="ttname"><a href="structtw__pe.html">tw_pe</a></div><div class="ttdoc">Holds the entire PE state. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00375">ross-types.h:375</a></div></div>
<div class="ttc" id="structtw__statistics_html_ae069d860a0a90e7d8280c8ec74cb9432"><div class="ttname"><a href="structtw__statistics.html#ae069d860a0a90e7d8280c8ec74cb9432">tw_statistics::s_init</a></div><div class="ttdeci">tw_clock s_init</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00135">ross-types.h:135</a></div></div>
<div class="ttc" id="ross-extern_8h_html_ab8bd876929690758e922961bcc16cd64"><div class="ttname"><a href="ross-extern_8h.html#ab8bd876929690758e922961bcc16cd64">g_tw_nlp</a></div><div class="ttdeci">tw_lpid g_tw_nlp</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00023">ross-global.c:23</a></div></div>
<div class="ttc" id="tw-stats_8c_html_acf18fda42c51c1b9f24fc963c1ed0a15"><div class="ttname"><a href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15">show_4f</a></div><div class="ttdeci">static void show_4f(const char *name, double v)</div><div class="ttdef"><b>Definition:</b> <a href="tw-stats_8c_source.html#l00026">tw-stats.c:26</a></div></div>
<div class="ttc" id="structtw__statistics_html_af5f39d1286d62c54c9cc14c8e5f16544"><div class="ttname"><a href="structtw__statistics.html#af5f39d1286d62c54c9cc14c8e5f16544">tw_statistics::s_stat_comp</a></div><div class="ttdeci">tw_clock s_stat_comp</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00151">ross-types.h:151</a></div></div>
<div class="ttc" id="network-mpi_8c_html_a2818efb70df48e5e29d3dacb3e2de009"><div class="ttname"><a href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009">tw_nnodes</a></div><div class="ttdeci">unsigned int tw_nnodes(void)</div><div class="ttdef"><b>Definition:</b> <a href="network-mpi_8c_source.html#l00103">network-mpi.c:103</a></div></div>
<div class="ttc" id="structtw__statistics_html_a950bfd3cce9aeb0874095350d634e977"><div class="ttname"><a href="structtw__statistics.html#a950bfd3cce9aeb0874095350d634e977">tw_statistics::s_nsend_network</a></div><div class="ttdeci">tw_stat s_nsend_network</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00121">ross-types.h:121</a></div></div>
<div class="ttc" id="structtw__statistics_html_a1c50bb28d5a9481058f1b495210cb0a0"><div class="ttname"><a href="structtw__statistics.html#a1c50bb28d5a9481058f1b495210cb0a0">tw_statistics::s_nsend_remote_rb</a></div><div class="ttdeci">tw_stat s_nsend_remote_rb</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00123">ross-types.h:123</a></div></div>
<div class="ttc" id="splay_8c_html_addf3f3d612922ac6c07304ddb4895ab7"><div class="ttname"><a href="splay_8c.html#addf3f3d612922ac6c07304ddb4895ab7">tw_pq_get_size</a></div><div class="ttdeci">unsigned int tw_pq_get_size(splay_tree *st)</div><div class="ttdef"><b>Definition:</b> <a href="splay_8c_source.html#l00351">splay.c:351</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a4066dfaca8faa4af256a377d85cea32f"><div class="ttname"><a href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f">tw_getkp</a></div><div class="ttdeci">static tw_kp * tw_getkp(tw_kpid id)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00053">ross-kernel-inline.h:53</a></div></div>
<div class="ttc" id="structtw__statistics_html_a828101c0647ffa8c15ac324dba6b09d4"><div class="ttname"><a href="structtw__statistics.html#a828101c0647ffa8c15ac324dba6b09d4">tw_statistics::s_net_events</a></div><div class="ttdeci">tw_stat s_net_events</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00110">ross-types.h:110</a></div></div>
<div class="ttc" id="structtw__statistics_html_a6b0357b84363b0747399aef2e913f5e5"><div class="ttname"><a href="structtw__statistics.html#a6b0357b84363b0747399aef2e913f5e5">tw_statistics::s_pq_qsize</a></div><div class="ttdeci">tw_stat s_pq_qsize</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00120">ross-types.h:120</a></div></div>
<div class="ttc" id="tw-timing_8h_html_afb3cc3360b4871f1d990048a71b909c6"><div class="ttname"><a href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a></div><div class="ttdeci">struct timeval tw_wtime</div><div class="ttdef"><b>Definition:</b> <a href="tw-timing_8h_source.html#l00004">tw-timing.h:4</a></div></div>
<div class="ttc" id="structtw__statistics_html"><div class="ttname"><a href="structtw__statistics.html">tw_statistics</a></div><div class="ttdoc">Statistics tallied over the duration of the simulation. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00107">ross-types.h:107</a></div></div>
<div class="ttc" id="structtw__statistics_html_ab8856e6a9484744cb864ec3b94c1f86d"><div class="ttname"><a href="structtw__statistics.html#ab8856e6a9484744cb864ec3b94c1f86d">tw_statistics::s_nsend_net_remote</a></div><div class="ttdeci">tw_stat s_nsend_net_remote</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00126">ross-types.h:126</a></div></div>
<div class="ttc" id="structtw__event_html"><div class="ttname"><a href="structtw__event.html">tw_event</a></div><div class="ttdoc">Event Stucture. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00250">ross-types.h:250</a></div></div>
<div class="ttc" id="tw-stats_8c_html_a0782b6be50ca83cb7f43782cde7d9ad4"><div class="ttname"><a href="tw-stats_8c.html#a0782b6be50ca83cb7f43782cde7d9ad4">tw_stats</a></div><div class="ttdeci">void tw_stats(tw_pe *me)</div><div class="ttdef"><b>Definition:</b> <a href="tw-stats_8c_source.html#l00125">tw-stats.c:125</a></div></div>
<div class="ttc" id="specialized-lps_8c_html_abaecb255233b735460c8b9836547041e"><div class="ttname"><a href="specialized-lps_8c.html#abaecb255233b735460c8b9836547041e">g_st_analysis_nlp</a></div><div class="ttdeci">tw_lpid g_st_analysis_nlp</div><div class="ttdef"><b>Definition:</b> <a href="specialized-lps_8c_source.html#l00012">specialized-lps.c:12</a></div></div>
<div class="ttc" id="structtw__kp_html"><div class="ttname"><a href="structtw__kp.html">tw_kp</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00340">ross-types.h:340</a></div></div>
<div class="ttc" id="structtw__statistics_html_a2795cbca69365a04b8f0f6838f3086f5"><div class="ttname"><a href="structtw__statistics.html#a2795cbca69365a04b8f0f6838f3086f5">tw_statistics::s_stat_write</a></div><div class="ttdeci">tw_clock s_stat_write</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00152">ross-types.h:152</a></div></div>
<div class="ttc" id="structtw__statistics_html_a67369ce1343843fe5d0bb6f723ccb140"><div class="ttname"><a href="structtw__statistics.html#a67369ce1343843fe5d0bb6f723ccb140">tw_statistics::s_nread_network</a></div><div class="ttdeci">tw_stat s_nread_network</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00122">ross-types.h:122</a></div></div>
<div class="ttc" id="specialized-lps_8c_html_af684a7b76fde8ed0e32b8a155af94f92"><div class="ttname"><a href="specialized-lps_8c.html#af684a7b76fde8ed0e32b8a155af94f92">g_st_use_analysis_lps</a></div><div class="ttdeci">int g_st_use_analysis_lps</div><div class="ttdef"><b>Definition:</b> <a href="specialized-lps_8c_source.html#l00011">specialized-lps.c:11</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a17c791c2b25a6f00f8244f7f1244b9ca"><div class="ttname"><a href="ross-extern_8h.html#a17c791c2b25a6f00f8244f7f1244b9ca">g_tw_events_per_pe_extra</a></div><div class="ttdeci">unsigned int g_tw_events_per_pe_extra</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00078">ross-global.c:78</a></div></div>
<div class="ttc" id="structtw__statistics_html_a11793b1e0f358ce83e0f0e7d858f14c5"><div class="ttname"><a href="structtw__statistics.html#a11793b1e0f358ce83e0f0e7d858f14c5">tw_statistics::s_buddy</a></div><div class="ttdeci">tw_clock s_buddy</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00149">ross-types.h:149</a></div></div>
<div class="ttc" id="structtw__statistics_html_ab722d6c0f1d5a616b0b21789cbdecc16"><div class="ttname"><a href="structtw__statistics.html#ab722d6c0f1d5a616b0b21789cbdecc16">tw_statistics::s_max_run_time</a></div><div class="ttdeci">double s_max_run_time</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00108">ross-types.h:108</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a8747c3bfc331d131dd546883b336feef"><div class="ttname"><a href="ross-extern_8h.html#a8747c3bfc331d131dd546883b336feef">g_tw_csv</a></div><div class="ttdeci">FILE * g_tw_csv</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00091">ross-global.c:91</a></div></div>
<div class="ttc" id="structtw__statistics_html_ad1861e30cfc3845812bb008f7d419308"><div class="ttname"><a href="structtw__statistics.html#ad1861e30cfc3845812bb008f7d419308">tw_statistics::s_alp_e_rbs</a></div><div class="ttdeci">tw_stat s_alp_e_rbs</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00157">ross-types.h:157</a></div></div>
<div class="ttc" id="structtw__statistics_html_a97f53f996639cd3ddd6c975addd0e984"><div class="ttname"><a href="structtw__statistics.html#a97f53f996639cd3ddd6c975addd0e984">tw_statistics::s_e_rbs</a></div><div class="ttdeci">tw_stat s_e_rbs</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00113">ross-types.h:113</a></div></div>
<div class="ttc" id="structtw__pe_html_ae9ea107324c86529f69a2b32526e19a8"><div class="ttname"><a href="structtw__pe.html#ae9ea107324c86529f69a2b32526e19a8">tw_pe::start_time</a></div><div class="ttdeci">tw_wtime start_time</div><div class="ttdoc">When this PE first started execution. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00412">ross-types.h:412</a></div></div>
<div class="ttc" id="structtw__kp_html_a2c69e0142ab6df7345feeb819dc7b86a"><div class="ttname"><a href="structtw__kp.html#a2c69e0142ab6df7345feeb819dc7b86a">tw_kp::s_e_rbs</a></div><div class="ttdeci">long s_e_rbs</div><div class="ttdoc">Number of events rolled back by this LP. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00363">ross-types.h:363</a></div></div>
<div class="ttc" id="structtw__pe_html_a90e1dbe51a084d6e02580667159e13ff"><div class="ttname"><a href="structtw__pe.html#a90e1dbe51a084d6e02580667159e13ff">tw_pe::pq</a></div><div class="ttdeci">tw_pq * pq</div><div class="ttdoc">Priority queue used to sort events. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00381">ross-types.h:381</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a47c205fb13e816aa4a0252ab2e7cd094"><div class="ttname"><a href="ross-extern_8h.html#a47c205fb13e816aa4a0252ab2e7cd094">tw_wall_sub</a></div><div class="ttdeci">void tw_wall_sub(tw_wtime *r, tw_wtime *a, tw_wtime *b)</div><div class="ttdef"><b>Definition:</b> <a href="tw-timing_8c_source.html#l00011">tw-timing.c:11</a></div></div>
<div class="ttc" id="network-mpi_8c_html_abbcd0d5ea79ad57229162f703309142d"><div class="ttname"><a href="network-mpi_8c.html#abbcd0d5ea79ad57229162f703309142d">tw_net_statistics</a></div><div class="ttdeci">tw_statistics * tw_net_statistics(tw_pe *me, tw_statistics *s)</div><div class="ttdoc">Function to output the statistics. </div><div class="ttdef"><b>Definition:</b> <a href="network-mpi_8c_source.html#l00656">network-mpi.c:656</a></div></div>
<div class="ttc" id="structtw__statistics_html_a1c60ba2fc1683cc9cff5da33497f13f0"><div class="ttname"><a href="structtw__statistics.html#a1c60ba2fc1683cc9cff5da33497f13f0">tw_statistics::s_net_read</a></div><div class="ttdeci">tw_clock s_net_read</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00136">ross-types.h:136</a></div></div>
<div class="ttc" id="ross-types_8h_html_abea764c61c75c56008ccf665a71246fda70cd78c3dbc0801ed52437fa82a6e8ef"><div class="ttname"><a href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda70cd78c3dbc0801ed52437fa82a6e8ef">CONSERVATIVE</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00029">ross-types.h:29</a></div></div>
<div class="ttc" id="structtw__lptype_html_a1cf12b802abfdbb67ea25dd8c5921058"><div class="ttname"><a href="structtw__lptype.html#a1cf12b802abfdbb67ea25dd8c5921058">tw_lptype::state_sz</a></div><div class="ttdeci">size_t state_sz</div><div class="ttdoc">Number of bytes that SV is for the LP. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00095">ross-types.h:95</a></div></div>
<div class="ttc" id="structtw__kp_html_ae0128e497a3731c114d91552ae531ce8"><div class="ttname"><a href="structtw__kp.html#ae0128e497a3731c114d91552ae531ce8">tw_kp::s_rb_total</a></div><div class="ttdeci">long s_rb_total</div><div class="ttdoc">Number of total rollbacks by this LP. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00364">ross-types.h:364</a></div></div>
<div class="ttc" id="structtw__statistics_html_a043d6d3fdd9bfcaa4bcd388af63c6662"><div class="ttname"><a href="structtw__statistics.html#a043d6d3fdd9bfcaa4bcd388af63c6662">tw_statistics::s_min_detected_offset</a></div><div class="ttdeci">double s_min_detected_offset</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00132">ross-types.h:132</a></div></div>
<div class="ttc" id="structtw__statistics_html_a57f9136844021515905c3a6bc70eb921"><div class="ttname"><a href="structtw__statistics.html#a57f9136844021515905c3a6bc70eb921">tw_statistics::s_avl</a></div><div class="ttdeci">tw_clock s_avl</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00148">ross-types.h:148</a></div></div>
<div class="ttc" id="ross_8h_html"><div class="ttname"><a href="ross_8h.html">ross.h</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a01d028965db8257815ad2ed053a0e40a"><div class="ttname"><a href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a">tw_getlp</a></div><div class="ttdeci">static tw_lp * tw_getlp(tw_lpid id)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00041">ross-kernel-inline.h:41</a></div></div>
<div class="ttc" id="structtw__statistics_html_afbaa299bc177b669536d9fd2986d628f"><div class="ttname"><a href="structtw__statistics.html#afbaa299bc177b669536d9fd2986d628f">tw_statistics::s_fc_attempts</a></div><div class="ttdeci">tw_stat s_fc_attempts</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00118">ross-types.h:118</a></div></div>
<div class="ttc" id="ross-extern_8h_html_af545d515aac1a8f3f15aa261af6db1e2"><div class="ttname"><a href="ross-extern_8h.html#af545d515aac1a8f3f15aa261af6db1e2">g_tw_fossil_attempts</a></div><div class="ttdeci">int g_tw_fossil_attempts</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00028">ross-global.c:28</a></div></div>
<div class="ttc" id="structtw__statistics_html_a62e777ce390693fbe7b4fb88110c3c10"><div class="ttname"><a href="structtw__statistics.html#a62e777ce390693fbe7b4fb88110c3c10">tw_statistics::s_pe_event_ties</a></div><div class="ttdeci">tw_stat s_pe_event_ties</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00130">ross-types.h:130</a></div></div>
<div class="ttc" id="structtw__statistics_html_a25c1b19b67e5b437265c98a444d89fc2"><div class="ttname"><a href="structtw__statistics.html#a25c1b19b67e5b437265c98a444d89fc2">tw_statistics::s_nsend_loc_remote</a></div><div class="ttdeci">tw_stat s_nsend_loc_remote</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00125">ross-types.h:125</a></div></div>
<div class="ttc" id="structtw__statistics_html_a395ff98d71b2e8aaddcf293fa135cd7b"><div class="ttname"><a href="structtw__statistics.html#a395ff98d71b2e8aaddcf293fa135cd7b">tw_statistics::s_fossil_collect</a></div><div class="ttdeci">tw_clock s_fossil_collect</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00139">ross-types.h:139</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a2f67789cc425e7d839fa4b983f5b8505"><div class="ttname"><a href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a></div><div class="ttdeci">tw_pe * g_tw_pe</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00075">ross-global.c:75</a></div></div>
<div class="ttc" id="structtw__pe_html_a164ff8a0fc75eddb81fb6629396fea39"><div class="ttname"><a href="structtw__pe.html#a164ff8a0fc75eddb81fb6629396fea39">tw_pe::end_time</a></div><div class="ttdeci">tw_wtime end_time</div><div class="ttdoc">When this PE finished its execution. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00413">ross-types.h:413</a></div></div>
<div class="ttc" id="ross-types_8h_html_a68910a3e880a16d5acbac8fc120229a2"><div class="ttname"><a href="ross-types_8h.html#a68910a3e880a16d5acbac8fc120229a2">tw_stat</a></div><div class="ttdeci">unsigned long long tw_stat</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00048">ross-types.h:48</a></div></div>
<div class="ttc" id="tw-stats_8c_html_a8ee84a05b778d1e84ff6c36216fb7718"><div class="ttname"><a href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718">show_lld</a></div><div class="ttdeci">static void show_lld(const char *name, tw_stat v)</div><div class="ttdef"><b>Definition:</b> <a href="tw-stats_8c_source.html#l00005">tw-stats.c:5</a></div></div>
<div class="ttc" id="structtw__statistics_html_a1fe13f0669aa85a80819965c67771b1c"><div class="ttname"><a href="structtw__statistics.html#a1fe13f0669aa85a80819965c67771b1c">tw_statistics::s_gvt</a></div><div class="ttdeci">tw_clock s_gvt</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00138">ross-types.h:138</a></div></div>
<div class="ttc" id="avl__tree_8c_html_ac4c639748d4d5a271d6c54a18f614605"><div class="ttname"><a href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a></div><div class="ttdeci">tw_pe * pe</div><div class="ttdef"><b>Definition:</b> <a href="avl__tree_8c_source.html#l00011">avl_tree.c:11</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_afd7e8bb46e590a19612ac045cf3f6f03"><div class="ttname"><a href="ross-kernel-inline_8h.html#afd7e8bb46e590a19612ac045cf3f6f03">ROSS_MAX</a></div><div class="ttdeci">#define ROSS_MAX(a, b)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00005">ross-kernel-inline.h:5</a></div></div>
<div class="ttc" id="structtw__lp_html_a34fb8e673f23705156b2473503e8a2d5"><div class="ttname"><a href="structtw__lp.html#a34fb8e673f23705156b2473503e8a2d5">tw_lp::cur_state</a></div><div class="ttdeci">void * cur_state</div><div class="ttdoc">Current application LP data. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00315">ross-types.h:315</a></div></div>
<div class="ttc" id="ross-extern_8h_html_ae0f8e95d53bcbe6803081588d3058146"><div class="ttname"><a href="ross-extern_8h.html#ae0f8e95d53bcbe6803081588d3058146">tw_wall_to_double</a></div><div class="ttdeci">double tw_wall_to_double(tw_wtime *t)</div><div class="ttdef"><b>Definition:</b> <a href="tw-timing_8c_source.html#l00024">tw-timing.c:24</a></div></div>
<div class="ttc" id="structtw__statistics_html_a1db8c3a6135984960c5b7da410770cf5"><div class="ttname"><a href="structtw__statistics.html#a1db8c3a6135984960c5b7da410770cf5">tw_statistics::s_alp_nevent_processed</a></div><div class="ttdeci">tw_stat s_alp_nevent_processed</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00156">ross-types.h:156</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a4a237c68db5a0325e986d3710088d427"><div class="ttname"><a href="ross-extern_8h.html#a4a237c68db5a0325e986d3710088d427">g_tw_nkp</a></div><div class="ttdeci">tw_kpid g_tw_nkp</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00025">ross-global.c:25</a></div></div>
<div class="ttc" id="structtw__statistics_html_a81aae87c2c31239b501b7461e93effa2"><div class="ttname"><a href="structtw__statistics.html#a81aae87c2c31239b501b7461e93effa2">tw_statistics::s_nevent_processed</a></div><div class="ttdeci">tw_stat s_nevent_processed</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00111">ross-types.h:111</a></div></div>
<div class="ttc" id="structtw__lp_html_af7e48c8a55f5fff35746ac044df1902f"><div class="ttname"><a href="structtw__lp.html#af7e48c8a55f5fff35746ac044df1902f">tw_lp::rng</a></div><div class="ttdeci">tw_rng_stream * rng</div><div class="ttdoc">RNG stream array for this LP. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00317">ross-types.h:317</a></div></div>
<div class="ttc" id="tw-stats_8c_html_aae84db287c9d98fc4aae257388490aec"><div class="ttname"><a href="tw-stats_8c.html#aae84db287c9d98fc4aae257388490aec">tw_get_stats</a></div><div class="ttdeci">void tw_get_stats(tw_pe *pe, tw_statistics *s)</div><div class="ttdef"><b>Definition:</b> <a href="tw-stats_8c_source.html#l00035">tw-stats.c:35</a></div></div>
<div class="ttc" id="structtw__statistics_html_abd593404137ee16d70a5c87547ad52d8"><div class="ttname"><a href="structtw__statistics.html#abd593404137ee16d70a5c87547ad52d8">tw_statistics::s_events_past_end</a></div><div class="ttdeci">tw_stat s_events_past_end</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00154">ross-types.h:154</a></div></div>
<div class="ttc" id="tw-stats_8c_html_a833fd4a6c61467eb69ced0082061703f"><div class="ttname"><a href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f">show_2f</a></div><div class="ttdeci">static void show_2f(const char *name, double v)</div><div class="ttdef"><b>Definition:</b> <a href="tw-stats_8c_source.html#l00012">tw-stats.c:12</a></div></div>
<div class="ttc" id="structtw__statistics_html_a77e96c47b9469e7a2dac21158f66d192"><div class="ttname"><a href="structtw__statistics.html#a77e96c47b9469e7a2dac21158f66d192">tw_statistics::s_total</a></div><div class="ttdeci">tw_clock s_total</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00134">ross-types.h:134</a></div></div>
<div class="ttc" id="structtw__statistics_html_abee413204afa47b508421b50b55cbbc4"><div class="ttname"><a href="structtw__statistics.html#abee413204afa47b508421b50b55cbbc4">tw_statistics::s_event_abort</a></div><div class="ttdeci">tw_clock s_event_abort</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00141">ross-types.h:141</a></div></div>
<div class="ttc" id="structtw__statistics_html_a94f3a9b746bc08e1bd11a971256bd98a"><div class="ttname"><a href="structtw__statistics.html#a94f3a9b746bc08e1bd11a971256bd98a">tw_statistics::s_rollback</a></div><div class="ttdeci">tw_clock s_rollback</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00144">ross-types.h:144</a></div></div>
<div class="ttc" id="mpi__allreduce_8c_html_a14d128d340e53baff763e91125748254"><div class="ttname"><a href="mpi__allreduce_8c.html#a14d128d340e53baff763e91125748254">tw_gvt_stats</a></div><div class="ttdeci">void tw_gvt_stats(FILE *f)</div><div class="ttdef"><b>Definition:</b> <a href="mpi__allreduce_8c_source.html#l00053">mpi_allreduce.c:53</a></div></div>
<div class="ttc" id="structtw__statistics_html_ab569d8a20ab672eeb8ba0198154dd5ff"><div class="ttname"><a href="structtw__statistics.html#ab569d8a20ab672eeb8ba0198154dd5ff">tw_statistics::s_rb_secondary</a></div><div class="ttdeci">tw_stat s_rb_secondary</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00117">ross-types.h:117</a></div></div>
<div class="ttc" id="structtw__statistics_html_a288053705e5e498d021498a1fe6a39e7"><div class="ttname"><a href="structtw__statistics.html#a288053705e5e498d021498a1fe6a39e7">tw_statistics::s_cancel_q</a></div><div class="ttdeci">tw_clock s_cancel_q</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00146">ross-types.h:146</a></div></div>
<div class="ttc" id="structtw__kp_html_ac6d205df22a30a62f5694ac1d3d1c14a"><div class="ttname"><a href="structtw__kp.html#ac6d205df22a30a62f5694ac1d3d1c14a">tw_kp::s_nevent_processed</a></div><div class="ttdeci">tw_stat s_nevent_processed</div><div class="ttdoc">Number of events processed. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00361">ross-types.h:361</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a57043bf25127f521210bbf779e283e13"><div class="ttname"><a href="ross-extern_8h.html#a57043bf25127f521210bbf779e283e13">g_tw_events_per_pe</a></div><div class="ttdeci">unsigned int g_tw_events_per_pe</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00076">ross-global.c:76</a></div></div>
<div class="ttc" id="ross-extern_8h_html_aad9cd95e0d933f14b3c1a4b7c81e0f97"><div class="ttname"><a href="ross-extern_8h.html#aad9cd95e0d933f14b3c1a4b7c81e0f97">tw_calloc_stats</a></div><div class="ttdeci">void tw_calloc_stats(size_t *alloc, size_t *waste)</div><div class="ttdef"><b>Definition:</b> <a href="tw-util_8c_source.html#l00120">tw-util.c:120</a></div></div>
<div class="ttc" id="structtw__lp_html"><div class="ttname"><a href="structtw__lp.html">tw_lp</a></div><div class="ttdoc">LP State Structure. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00304">ross-types.h:304</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
